//
//  KKPurchaseOrderCollectionViewCell.h
//  FreightAssistant
//
//  Created by leo on 15/12/30.
//  Copyright © 2015年 leo. All rights reserved.
//


#import "KKCollectionViewCell.h"

#import "KKPurchaseOrderItemList.h"

typedef NS_ENUM(NSUInteger, KKPurchaseOrderCollectionEventType) {
    KKPurchaseOrderCollectionEventTypeIsDetail = 0,       /**< 查看详情 */
    KKPurchaseOrderCollectionEventTypeIsEdit,             /**< 编辑 */
    KKPurchaseOrderCollectionEventTypeIsLogisticsDetail,  /**< 查看快递详情 */
};

typedef void(^KKPurchaseOrderCollectionEventBlock)(NSInteger eventType);

@interface KKPurchaseOrderCollectionViewCell : KKCollectionViewCell

@property (nonatomic, copy) KKPurchaseOrderCollectionEventBlock eventBlock;

@property (weak, nonatomic) IBOutlet UILabel *kk_createTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *kk_orderInfoLabel;
@property (weak, nonatomic) IBOutlet UILabel *kk_amountLabel;

@property (weak, nonatomic) IBOutlet UIButton *kk_orderNumberButton;
@property (weak, nonatomic) IBOutlet UIButton *kk_orderStateButton;

@property (weak, nonatomic) IBOutlet UILabel *kk_orderStateLabel0;
@property (weak, nonatomic) IBOutlet UILabel *kk_orderStateLabel1;
@property (weak, nonatomic) IBOutlet UILabel *kk_orderStateLabel2;
@property (weak, nonatomic) IBOutlet UILabel *kk_orderStateLabel3;
@property (weak, nonatomic) IBOutlet UILabel *kk_orderStateLabel4;

@property (weak, nonatomic) IBOutlet UIImageView *kk_orderStateTags0;
@property (weak, nonatomic) IBOutlet UIImageView *kk_orderStateTags1;
@property (weak, nonatomic) IBOutlet UIImageView *kk_orderStateTags2;
@property (weak, nonatomic) IBOutlet UIImageView *kk_orderStateTags3;
@property (weak, nonatomic) IBOutlet UIImageView *kk_orderStateTags4;


@property (nonatomic, strong) KKPurchaseOrderItem *kk_currentOrderItem;

@end
